---
sidebar_position: 5
title: Using tools
hide_table_of_contents: true
---

# Using tools

Tools are also runnables, and can therefore be used within a chain:

import CodeBlock from "@theme/CodeBlock";
import ToolExample from "@examples/guides/expression_language/cookbook_tools.ts";

import IntegrationInstallTooltip from "@mdx_components/integration_install_tooltip.mdx";

<IntegrationInstallTooltip></IntegrationInstallTooltip>

```bash npm2yarn
npm install @langchain/anthropic
```

<CodeBlock language="typescript">{ToolExample}</CodeBlock>
